package org.gangcai.mac.shop.bean;

import java.util.concurrent.locks.ReadWriteLock;

/**
 * Created by mac on 2018/4/11.
 */

public class MyInviteBean extends CommonResonseBean {

    /**
     * invite_count : 0
     * extension_code : 337704
     * reward_rate : 1
     * invite_money : null
     */

    private String invite_count;
    private String extension_code;
    private String reward_rate;
    private String invite_money;

    public String getInvite_count() {
        return invite_count;
    }

    public void setInvite_count(String invite_count) {
        this.invite_count = invite_count;
    }

    public String getExtension_code() {
        return extension_code;
    }

    public void setExtension_code(String extension_code) {
        this.extension_code = extension_code;
    }

    public String getReward_rate() {
        float reward_float = Float.parseFloat(reward_rate);

        return reward_rate;
    }

    public void setReward_rate(String reward_rate) {
        this.reward_rate = reward_rate;
    }

    public String getInvite_money() {

        if (invite_money == null || invite_money.equals(null)) {
            return "0";
        }
        return invite_money;
    }

    public void setInvite_money(String invite_money) {
        this.invite_money = invite_money;
    }
}
